package immutable;

/**
 * @Classname FinalStringDemo2
 * @Description TODO
 * @Date 2025/1/8 23:08
 * @Author zhuzhenguo
 */
public class FinalStringDemo2 {
    public static void main(String[] args) {
        String a = "wukong2";
        final String b = getDashixiong();
        String c = b + 2;
        System.out.println(a == c);
    }

    private static String getDashixiong() {
        return "wukong";
    }
}
